<!DOCTYPE html>
<html>
  <head>
    <title>wei_pay.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

<script type="text/javascript">
		WeixinJSBridge.invoke('getBrandWCPayRequest',{
			"appId" : "wx2421b1c4370ec43b", 
			//公众号名称，由商户传入
			"timeStamp":" 1395712654",                 
			//时间戳，自1970年以来的秒数
			"nonceStr":"e61463f8efa94090b1f366cccfbbb444", 
			//随机串
			"package":"prepay_id=u802345jgfjsdfgsdg888",
			"signType":"MD5", 
			//微信签名方式:
			"paySign" : "70EA570631E4BB79628FBCA90534C63FF7FADD89" 
			//微信签名
		},function(res){
		if(res.err_msg =="get_brand_wcpay_request:ok") {
			alert("success");
		}else{
			alert("failure");
		}
		});
</script>
</head>
<body>
</body>
</html>
